package com.teach.demo.entity;

import java.util.Date;

// import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonFormat;
// import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Hello {
  private Integer id;
  // @JsonIgnore
  private String name;
  // @JsonAlias("别名")
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date date;


}
